﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace RoleEditer
{
    //动画树的Animat类别
    public class TreeViewItem_Animat : TreeViewItem
    {
        public TreeViewItem_Animat(string name)
        {
            Header = name;
            
        }
        //动画名字
        public string AnimatName
        {
            get
            {
                return Header as string;
            }
            set { Header = value; }
        }
        //隶属于那个精灵动画文件，上一层就是TreeItem_Spirit
        public TreeViewItem_Spirite ParentSpirit
        {
            get
            {
                return this.Parent as TreeViewItem_Spirite;
            }
        }
    }
}
